package com.miplus.ccrm.core.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.miplus.ccrm.core.controller.vo.ficase.CaseNavResVo;
import com.miplus.ccrm.core.pojo.FiCreditcases;
import org.apache.ibatis.annotations.Mapper;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
* @author pc
* @description 针对表【fi_creditcases(案件表)】的数据库操作Mapper
* @createDate 2024-03-26 21:59:40
* @Entity com.miplus.ccrm.core.pojo.FiCreditcases
*/
@Mapper
public interface FiCreditcasesMapper extends MPJBaseMapper<FiCreditcases> {

    int updateToHist(String batchid, String distdtime);

    int updateToHistByAss(String batchid);

    int updateToHistByID(Integer ficaseid);

    int updateHistDistStatus(String batchid);

    BigDecimal getPayAmt(String acctno, String distdt, String recydt);

    int insertRecycleHist(String recycledt,String usrid,String recybatchid);
    int updateRecycleInit(String recycledt,String usrid,String recybatchid);

    String getIdNumber(Integer ficaseid);

    String getSerialNumber(Integer ficaseid);

    String getUserMgrp(String usrid);

    List<CaseNavResVo> getCaseNavigate(String[] puvgrps,String usrid,Integer maxmths,Integer ismgr);
}




